package com.bookmngsys.service;

import com.bookmngsys.entity.Book;
import com.bookmngsys.entity.Reservation;

import java.util.List;

public interface ReservationService {

    public void test();

    List<Reservation> getReservations();

    List<Reservation> getReservationsByReaderId(int ReaderId);

    Reservation getReservation(int id);

    void reserve(String isbn,int readerId) throws Exception;

    void cancelReserve(int id) throws Exception;



}
